package com.qingchunlin.blogsystem.mapper;

import com.qingchunlin.blogsystem.entity.User;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface UserMapper {
    User getUserByName(String userName);

    User getUserById(Integer userId);

    User getAuthorByBlogId(Integer blogId);
}
